﻿



using System; 
using System.Collections;
using System.Collections.Generic ;
using System.Runtime.Serialization;

namespace ufida.u9.ait.openapi
{
	/// <summary>
	/// 固定资产卡片AITDTO DTO :REST自定义的数据传输类型 
	/// 
	/// </summary>
	[DataContract(Namespace = "ufida.u9.ait.openapi")]
	[Serializable]
	public partial class AssertCardAITDTOData  
	{
		/// <summary>
		/// Default Constructor
		/// </summary>
		public AssertCardAITDTOData()
		{
			initData();
		}
		private void initData()
		{
		
		
		
		
					Qty= 0; 
				
		
		
		
		
		
		
		
		
		
		
		
					Statues= -1; 
				
		
		
		
		
		
		

			//调用默认值初始化服务进行配置方式初始化
			UFSoft.UBF.Service.DTOService.InitConfigDefault(this);
		}
		[System.Runtime.Serialization.OnDeserializing]
		internal void OnDeserializing(System.Runtime.Serialization.StreamingContext context)
		{
			 initData();
		}
		#region Do SerializeKey -ForDTODataType
		//只为处理集合型EntityKey。原因集合型EntityKey由于使用臫的集合对象，无法实现数据共享.-UBF专用.
		public void DoSerializeKeyList(IDictionary dict)
		{
			if (dict == null ) dict = new Hashtable() ;
			if (dict[this] != null)
				return ;
			dict[this] = this;
	        			if (this.AssetAccountInfor != null) 
			{
				this.AssetAccountInfor.DoSerializeKeyList(dict);
			}
	        			if (this.SourceDoc != null) 
			{
				this.SourceDoc.DoSerializeKeyList(dict);
			}
	        			if (this.UOM != null) 
			{
				this.UOM.DoSerializeKeyList(dict);
			}
	        	        	        			if (this.OwnerDept != null) 
			{
				this.OwnerDept.DoSerializeKeyList(dict);
			}
	        			if (this.Org != null) 
			{
				this.Org.DoSerializeKeyList(dict);
			}
	        			if (this.Item != null) 
			{
				this.Item.DoSerializeKeyList(dict);
			}
	        			if (this.DocumentType != null) 
			{
				this.DocumentType.DoSerializeKeyList(dict);
			}
	        	        			if (this.AuditDept != null) 
			{
				this.AuditDept.DoSerializeKeyList(dict);
			}
	        			if (this.AssetType != null) 
			{
				this.AssetType.DoSerializeKeyList(dict);
			}
	        	        			if (this.AssetCategory != null) 
			{
				this.AssetCategory.DoSerializeKeyList(dict);
			}
	        			if (this.AssetLocation != null) 
			{
				this.AssetLocation.DoSerializeKeyList(dict);
			}
	        	        			if (this.DescFlexField != null) 
			{
				this.DescFlexField.DoSerializeKeyList(dict);
			}
	        	        			if (this.UsageDept != null) 
			{
				this.UsageDept.DoSerializeKeyList(dict);
			}
	        			if (this.UsagePrincipal != null) 
			{
				this.UsagePrincipal.DoSerializeKeyList(dict);
			}
	        			if (this.Owner != null) 
			{
				this.Owner.DoSerializeKeyList(dict);
			}
	        	        			if (this.TagDescFlexField != null) 
			{
				this.TagDescFlexField.DoSerializeKeyList(dict);
			}
	        			if (this.Project != null) 
			{
				this.Project.DoSerializeKeyList(dict);
			}
	        
		}
		#endregion 
		/// <summary>
		/// Constructor Full Argument
		/// </summary>
		public AssertCardAITDTOData(  ufida.u9.ait.openapi.AssetAccountInforAITDTOData assetAccountInfor  , ufida.u9.ait.openapi.AssertCardSourceDocAITDTOData sourceDoc  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData uOM  , System.String startDate  , System.Int32 qty  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData ownerDept  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData org  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData item  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData documentType  , System.String businessDate  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData auditDept  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData assetType  , System.String assetName  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData assetCategory  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData assetLocation  , System.String docNo  , ufida.u9.ait.openapi.CopyOfDescFlexSegmentsData descFlexField  , System.Int32 statues  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData usageDept  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData usagePrincipal  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData owner  , System.String assetDescription  , ufida.u9.ait.openapi.CopyOfDescFlexSegmentsData tagDescFlexField  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData project  , System.String itemCode  )
		{
			initData();
			this.AssetAccountInfor = assetAccountInfor;
			this.SourceDoc = sourceDoc;
			this.UOM = uOM;
			this.StartDate = startDate;
			this.Qty = qty;
			this.OwnerDept = ownerDept;
			this.Org = org;
			this.Item = item;
			this.DocumentType = documentType;
			this.BusinessDate = businessDate;
			this.AuditDept = auditDept;
			this.AssetType = assetType;
			this.AssetName = assetName;
			this.AssetCategory = assetCategory;
			this.AssetLocation = assetLocation;
			this.DocNo = docNo;
			this.DescFlexField = descFlexField;
			this.Statues = statues;
			this.UsageDept = usageDept;
			this.UsagePrincipal = usagePrincipal;
			this.Owner = owner;
			this.AssetDescription = assetDescription;
			this.TagDescFlexField = tagDescFlexField;
			this.Project = project;
			this.ItemCode = itemCode;
		}
		#region System Fields 
		//--系统字段,目前没有.EntityData上有相应的字段,用于保存相关的实体状态信息,DTO上没有状态信息.	
		#endregion
		
		#region DTO Properties 
	
		

		/// <summary>
		/// 卡片财务信息
		/// 固定资产卡片AITDTO.Misc.卡片财务信息
		/// </summary>
		private ufida.u9.ait.openapi.AssetAccountInforAITDTOData m_assetAccountInfor ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.AssetAccountInforAITDTOData AssetAccountInfor
		{
			get	
			{	
				return m_assetAccountInfor ;
			}
			set	
			{	
				m_assetAccountInfor = value ;	
			}
		}
			
		

		/// <summary>
		/// 资产卡片来源信息
		/// 固定资产卡片AITDTO.Misc.资产卡片来源信息
		/// </summary>
		private ufida.u9.ait.openapi.AssertCardSourceDocAITDTOData m_sourceDoc ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.AssertCardSourceDocAITDTOData SourceDoc
		{
			get	
			{	
				return m_sourceDoc ;
			}
			set	
			{	
				m_sourceDoc = value ;	
			}
		}
			
		

		/// <summary>
		/// 单位
		/// 固定资产卡片AITDTO.Misc.单位
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_uOM ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData UOM
		{
			get	
			{	
				return m_uOM ;
			}
			set	
			{	
				m_uOM = value ;	
			}
		}
			
		

		/// <summary>
		/// 启用日期
		/// 固定资产卡片AITDTO.Misc.启用日期
		/// </summary>
		private System.String m_startDate ;
		[DataMember(IsRequired=false)]
		public System.String StartDate
		{
			get	
			{	
				return m_startDate ;
			}
			set	
			{	
				m_startDate = value ;	
			}
		}
			
		

		/// <summary>
		/// 数量
		/// 固定资产卡片AITDTO.Misc.数量
		/// </summary>
		private System.Int32 m_qty ;
		[DataMember(IsRequired=false)]
		public System.Int32 Qty
		{
			get	
			{	
				return m_qty ;
			}
			set	
			{	
				m_qty = value ;	
			}
		}
			
		

		/// <summary>
		/// 管理部门
		/// 固定资产卡片AITDTO.Misc.管理部门
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_ownerDept ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData OwnerDept
		{
			get	
			{	
				return m_ownerDept ;
			}
			set	
			{	
				m_ownerDept = value ;	
			}
		}
			
		

		/// <summary>
		/// 组织
		/// 固定资产卡片AITDTO.Misc.组织
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_org ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData Org
		{
			get	
			{	
				return m_org ;
			}
			set	
			{	
				m_org = value ;	
			}
		}
			
		

		/// <summary>
		/// 资产
		/// 固定资产卡片AITDTO.Misc.资产
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_item ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData Item
		{
			get	
			{	
				return m_item ;
			}
			set	
			{	
				m_item = value ;	
			}
		}
			
		

		/// <summary>
		/// 单据类型
		/// 固定资产卡片AITDTO.Misc.单据类型
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_documentType ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData DocumentType
		{
			get	
			{	
				return m_documentType ;
			}
			set	
			{	
				m_documentType = value ;	
			}
		}
			
		

		/// <summary>
		/// 业务日期
		/// 固定资产卡片AITDTO.Misc.业务日期
		/// </summary>
		private System.String m_businessDate ;
		[DataMember(IsRequired=false)]
		public System.String BusinessDate
		{
			get	
			{	
				return m_businessDate ;
			}
			set	
			{	
				m_businessDate = value ;	
			}
		}
			
		

		/// <summary>
		/// 核算部门
		/// 固定资产卡片AITDTO.Misc.核算部门
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_auditDept ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData AuditDept
		{
			get	
			{	
				return m_auditDept ;
			}
			set	
			{	
				m_auditDept = value ;	
			}
		}
			
		

		/// <summary>
		/// 资产性态
		/// 固定资产卡片AITDTO.Misc.资产性态
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_assetType ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData AssetType
		{
			get	
			{	
				return m_assetType ;
			}
			set	
			{	
				m_assetType = value ;	
			}
		}
			
		

		/// <summary>
		/// 资产名称
		/// 固定资产卡片AITDTO.Misc.资产名称
		/// </summary>
		private System.String m_assetName ;
		[DataMember(IsRequired=false)]
		public System.String AssetName
		{
			get	
			{	
				return m_assetName ;
			}
			set	
			{	
				m_assetName = value ;	
			}
		}
			
		

		/// <summary>
		/// 资产类别
		/// 固定资产卡片AITDTO.Misc.资产类别
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_assetCategory ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData AssetCategory
		{
			get	
			{	
				return m_assetCategory ;
			}
			set	
			{	
				m_assetCategory = value ;	
			}
		}
			
		

		/// <summary>
		/// 资产位置
		/// 固定资产卡片AITDTO.Misc.资产位置
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_assetLocation ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData AssetLocation
		{
			get	
			{	
				return m_assetLocation ;
			}
			set	
			{	
				m_assetLocation = value ;	
			}
		}
			
		

		/// <summary>
		/// 卡片编号
		/// 固定资产卡片AITDTO.Misc.卡片编号
		/// </summary>
		private System.String m_docNo ;
		[DataMember(IsRequired=false)]
		public System.String DocNo
		{
			get	
			{	
				return m_docNo ;
			}
			set	
			{	
				m_docNo = value ;	
			}
		}
			
		

		/// <summary>
		/// 实体扩展字段集合
		/// 固定资产卡片AITDTO.Misc.实体扩展字段集合
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfDescFlexSegmentsData m_descFlexField ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfDescFlexSegmentsData DescFlexField
		{
			get	
			{	
				return m_descFlexField ;
			}
			set	
			{	
				m_descFlexField = value ;	
			}
		}
			
		

		/// <summary>
		/// 状态
		/// 固定资产卡片AITDTO.Misc.状态
		/// </summary>
		private System.Int32 m_statues ;
		[DataMember(IsRequired=false)]
		public System.Int32 Statues
		{
			get	
			{	
				return m_statues ;
			}
			set	
			{	
				m_statues = value ;	
			}
		}
			
		

		/// <summary>
		/// 使用部门
		/// 固定资产卡片AITDTO.Misc.使用部门
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_usageDept ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData UsageDept
		{
			get	
			{	
				return m_usageDept ;
			}
			set	
			{	
				m_usageDept = value ;	
			}
		}
			
		

		/// <summary>
		/// 使用人
		/// 固定资产卡片AITDTO.Misc.使用人
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_usagePrincipal ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData UsagePrincipal
		{
			get	
			{	
				return m_usagePrincipal ;
			}
			set	
			{	
				m_usagePrincipal = value ;	
			}
		}
			
		

		/// <summary>
		/// 管理责任人
		/// 固定资产卡片AITDTO.Misc.管理责任人
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_owner ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData Owner
		{
			get	
			{	
				return m_owner ;
			}
			set	
			{	
				m_owner = value ;	
			}
		}
			
		

		/// <summary>
		/// 资产描述
		/// 固定资产卡片AITDTO.Misc.资产描述
		/// </summary>
		private System.String m_assetDescription ;
		[DataMember(IsRequired=false)]
		public System.String AssetDescription
		{
			get	
			{	
				return m_assetDescription ;
			}
			set	
			{	
				m_assetDescription = value ;	
			}
		}
			
		

		/// <summary>
		/// 实物扩展字段集合
		/// 固定资产卡片AITDTO.Misc.实物扩展字段集合
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfDescFlexSegmentsData m_tagDescFlexField ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfDescFlexSegmentsData TagDescFlexField
		{
			get	
			{	
				return m_tagDescFlexField ;
			}
			set	
			{	
				m_tagDescFlexField = value ;	
			}
		}
			
		

		/// <summary>
		/// 项目
		/// 固定资产卡片AITDTO.Misc.项目
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_project ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData Project
		{
			get	
			{	
				return m_project ;
			}
			set	
			{	
				m_project = value ;	
			}
		}
			
		

		/// <summary>
		/// 资产编号
		/// 固定资产卡片AITDTO.Misc.资产编号
		/// </summary>
		private System.String m_itemCode ;
		[DataMember(IsRequired=false)]
		public System.String ItemCode
		{
			get	
			{	
				return m_itemCode ;
			}
			set	
			{	
				m_itemCode = value ;	
			}
		}
			
		#endregion	

		#region Multi_Fields
																																																		
		#endregion 
	} 	
}
